package org.example.resource.test;

import java.time.Instant;

public class Stopwatch {
    private long s;
    private long e;

    public void start() {
        s = Instant.now().toEpochMilli();
    }

    public long stop() {
        e = Instant.now().toEpochMilli();
        return e - s;
    }
}
